home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Development Kits / MPW etc / MPW-GM / Interfaces&Libraries / Interfaces / CIncludes / PLStringFuncs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-17  |  1.4 KB  |  49 lines  |  [TEXT/MPS ]

  1. /*
  2.     PLStringFuncs.h -- C string conversion functions for pascal
  3.         
  4.     Copyright Apple Computer,Inc.  1989, 1990, 1995
  5.     All rights reserved
  6.  
  7. */
  8.  
  9. #ifndef __PLSTRINGFUNCS__
  10. #define __PLSTRINGFUNCS__
  11.  
  12. #ifndef    __TYPES__
  13. #include <Types.h>
  14. #endif
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20.  
  21. #if defined (__powerc) || defined (powerc) || defined (__CFM68K__)
  22.     #pragma import on
  23. #endif
  24.  
  25. pascal short        PLstrcmp(ConstStr255Param str1, ConstStr255Param str2);
  26. pascal short         PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num);
  27. pascal StringPtr     PLstrcpy(StringPtr str1, ConstStr255Param str2);
  28. pascal StringPtr     PLstrncpy(StringPtr str1, ConstStr255Param str2, short num);
  29. pascal StringPtr    PLstrcat(StringPtr str1, ConstStr255Param str2);
  30. pascal StringPtr     PLstrncat(StringPtr str1, ConstStr255Param str2, short num);
  31. pascal Ptr             PLstrchr(ConstStr255Param str1, short ch1);
  32. pascal Ptr             PLstrrchr(ConstStr255Param str1, short ch1);
  33. pascal Ptr             PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2);
  34. pascal short         PLstrspn(ConstStr255Param str1, ConstStr255Param str2);
  35. pascal Ptr             PLstrstr(ConstStr255Param str1, ConstStr255Param str2);
  36. pascal short         PLstrlen(ConstStr255Param str);
  37. pascal short        PLpos(ConstStr255Param str1, ConstStr255Param str2);
  38.  
  39.  
  40. #if defined (__powerc) || defined (powerc) || defined (__CFM68K__)
  41.     #pragma import off
  42. #endif
  43.  
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47.  
  48. #endif
  49.